package cn.jsu.oj.dispatchServer.satellite.pojo.net;

import cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard.*;

import java.io.Serializable;
import java.util.List;

/**
 * 客户端状态
 *
 * @author shan
 * @date 2022/06/29
 */
public class ClientStatusNet implements Serializable {

    private List<Net> netList;
    private List<Cpu> cpuList;
    private Storage storage;
    private List<Disk> diskList;
    private Os os;
    private Swap swap;

    public ClientStatusNet() {
    }

    public ClientStatusNet(List<Net> netList, List<Cpu> cpuList, Storage storage, List<Disk> diskList, Os os, Swap swap) {
        this.netList = netList;
        this.cpuList = cpuList;
        this.storage = storage;
        this.diskList = diskList;
        this.os = os;
        this.swap = swap;
    }

    public List<Net> getNetList() {
        return netList;
    }

    public void setNetList(List<Net> netList) {
        this.netList = netList;
    }

    public List<Cpu> getCpuList() {
        return cpuList;
    }

    public void setCpuList(List<Cpu> cpuList) {
        this.cpuList = cpuList;
    }

    public Storage getStorage() {
        return storage;
    }

    public void setStorage(Storage storage) {
        this.storage = storage;
    }

    public List<Disk> getDiskList() {
        return diskList;
    }

    public void setDiskList(List<Disk> diskList) {
        this.diskList = diskList;
    }

    public Os getOs() {
        return os;
    }

    public void setOs(Os os) {
        this.os = os;
    }

    public Swap getSwap() {
        return swap;
    }

    public void setSwap(Swap swap) {
        this.swap = swap;
    }

    @Override
    public String toString() {
        return "ClientStatusNet{" +
                "net=" + netList +
                ", cpu=" + cpuList +
                ", storage=" + storage +
                ", disk=" + diskList +
                ", os=" + os +
                ", swap=" + swap +
                '}';
    }
}
